package com.heima.admin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dto.AdUserDto;
import com.heima.model.admin.pojo.AdUser;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.RequestBody;

public interface UserService extends IService<AdUser> {

    public ResponseResult login(AdUserDto dto);

    //用户注册
    ResponseResult register(AdUser adUser);
}
